import { Tooltip } from "antd"

const SvgDot = ({ size = 8, color = '#999', title, placement = 'bottomRight', style }) => (
    <Tooltip title={title} placement={placement} arrow={false}>
        <svg width={size} height={size} style={style??{}}>
            <circle cx={size / 2} cy={size / 2} r={size / 2} fill={color} />
        </svg>
    </Tooltip>
);

export default SvgDot